package com.zzyl.nursing.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 返回楼层数据
 *
 * @Author mr.lcc
 * @Data 2025/5/18 17:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("树形结构VO")
public class TreeVo {

    @ApiModelProperty(value = "楼层名称")
    private String label;

    @ApiModelProperty(value = "楼层ID")
    private String value;

    @ApiModelProperty(value = "子节点")
    public List<TreeVo> children;
}
